<template>
  <div id="app" v-cloak>
    <!-- 头部 B -->
    <Header></Header>
    <!-- 头部 E -->
    <!-- 路由部分 B -->
    <div class="mian">
      <subnav class="subnav"></subnav>
      <router-view class="router_main"/>
    </div>
    <!-- 路由部分 E -->
    <!-- 底部 B -->
    <footers></footers>
    <!-- 底部 E -->
  </div>
</template>

<script>
import Header from "./header";
import subnav from "./subnav";
import footers from "./footer";
import $ from "jquery";
export default {
  data() {
    return {};
  },
  methods: {},

  components: {
    Header,
    subnav,
    footers
  }
};
</script>

<style lang="stylus">
h1 {
  line-height: 1;
  font-size: 18px;
  margin-bottom: 20px;
}

.v-enter {
  opacity: 0;
  transform: translateX(20%);
}

v-leave-to {
  opacity: 0;
  position: absolute;
}

.v-enter-active, .v-leave-active {
  transition: all 0.5s ease;
}

.mian {
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  height: 88%;
  width: 100%;

  .router_main {
    padding: 20px 30px 30px 30px;
    overflow: auto;
    width: 100%;
  }
}

.el-message {
  top: 65px !important;
}

.el-menu {
  border: 0;
}

.el-menu--horizontal {
  border: 0 !important;
}
</style>
